package com.jflm.common;

/**
 * ****************** 类说明 ********************* class : Contants
 * 
 * @author : hejinyun@umpay.com
 * @version : 1.0 description : 平台常量公共类
 * @see : ***********************************************
 */
public class Contants {

	/**
	 * POST 请求方式
	 */
	public static final String HTTP_METHOD_POST = "POST";

	/**
	 * GET 请求
	 */
	public static final String HTTP_METHOD_GET = "GET";

	/**
	 * utf-8 字符集
	 */
	public static final String CHARSET_UTF_8 = "utf-8";

	/**
	 * gbk 字符集
	 */
	public static final String CHARSET_GBK = "gbk";

	/**
	 * user-agent 请求头
	 */
	public static final String USER_AGENT = "User-Agent";

	/**
	 * 返回描述 0000 成功
	 */
	public static final String RETCODE_SUCC = "0000";
	/**
	 * 参数错误
	 */
	public static final String REVERSE_PARAM = "1000";

	/**
	 * 验签失败
	 */
	public static final String REVERSE_SIGN = "2000";

	/**
	 * 联盟积分系统超时
	 */
	public static final String REVERSE_TIMEOUT = "8000";
	/**
	 * 系统异常
	 */
	public static final String REVERSE_ERROR = "9999";

	/**
	 * 符号：=
	 */
	public static final String SYMBOL_EQUAL = "=";

	/**
	 * 符号：&
	 */
	public static final String SYMBOL_AND = "&";
	/**
	 * 符号：:
	 */
	public static final String SYMBOL_COLON = ":";

	/**
	 * HTTP-POST方式
	 */
	public static final String POST = "POST";

	/**
	 * 微信access_token
	 */
	public static final String ACCESS_TOKEN = "access_token";
	
	/**
	 * 手机验证码redis前缀
	 */
	public static final String SEND_BIND_AUTH_CODE = "BIND_VALIDCODE_";
	/**
	 * 领取红包时发送验证码redise前缀
	 */
	public static final String GET_REDPACKET_AUTH_CODE = "GET_REDPACKET_AUTH_CODE";
}
